<div class="search_form">
<h1><?php echo __("Search Message",true)?></h1>
<?php 
    echo $form->create('Messages', array(
		'url' => array_merge(array('action' => 'find'), $this->params['pass'])
		));
	echo $form->input('Message.searchtext', array('div' => false,'label'=>__("Text",true)));
	echo $form->hidden('Message.user_id', array('value' => $session->read("Auth.User.id")));
	echo $form->submit(__("Search", true), array('div' => false));
	echo $form->end();
?>
</div>